#include "filerepeatdialog.h"
#include "ui_filerepeatdialog.h"

FileRepeatDialog::FileRepeatDialog(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::FileRepeatDialog)
{
    ui->setupUi(this);
}

FileRepeatDialog::~FileRepeatDialog()
{
    delete ui;
}

void FileRepeatDialog::setRemindLabelText(QString arg)
{
    ui->remindlabel->setText(QString(tr("\"")+arg+tr("\" file already exists, whether to overwrite?")));
}

void FileRepeatDialog::on_coverbtn_clicked()
{
    emit sendCoverSignal(true);
}

void FileRepeatDialog::on_cancelbtn_clicked()
{
    emit sendCoverSignal(false);
}
